Fix bug #14739 with creation of GUI frames from TTY session on Windows.
authorEli Zaretskii <eliz@gnu.org>
Sat, 28 Dec 2013 11:47:26 +0000 (13:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Dec 2013 11:47:26 +0000 (13:47 +0200)
commit82cf02e14d265d9988a7e74aeb9b441f31ee8cd6
tree86e475202458e2a461b648cabbc64cf38f9797f6
parentb2ef22adcd7255b4ee8753b5a81aea569f2e958c
Fix bug #14739 with creation of GUI frames from TTY session on Windows.

 src/w32fns.c (Fx_create_frame): Error out if called from a TTY
 session.

 lisp/frame.el (window-system-for-display): Don't allow to create a
 GUI frame from a -nw session on MS-Windows.
lisp/ChangeLog
lisp/frame.el
src/ChangeLog
src/w32fns.c